appCode=titan-template
version=v1
imageAddr="harbor-dmz.yunzhen-data.com/ad-dev/${appCode}:${version}"

docker build -t ${appCode}:${version} .
docker tag ${appCode}:${version}  ${imageAddr}
docker login https://harbor-dmz.yunzhen-data.com -u AD4 -p qBB%SE8w8^ae
docker push $imageAddr

# docker build -t titan-template:v1 ./deploy/.
